<template>
  <div class="app-container">
    <el-table key="id" :data="adopt.list" fit highlight-current-row>
      <el-table-column label="序号" type="index"  width="50">
      </el-table-column>
      <el-table-column label="用户昵称" prop="nickname"> </el-table-column>

      <el-table-column label="手机号码"  prop="mobile">
      </el-table-column>

      <el-table-column label="性别"  prop="sex_text">
      </el-table-column>

      <el-table-column label="婚姻状况"  prop="marital">
      </el-table-column>

      <el-table-column label="住房情况"  prop="house">
      </el-table-column>

      <el-table-column label="出生日期"  prop="birth">
      </el-table-column>

      <el-table-column label="职业"  prop="job">
      </el-table-column>

      <el-table-column label="微信"  prop="wechat">
      </el-table-column>

      <el-table-column label="二维码" width="100px" >
        <template slot-scope="{ row }">
          <el-image
            v-if="row.wechat_qrcode"
            style="width: 50px; height: 50px"
            :src="row.wechat_qrcode"
            :preview-src-list="[row.wechat_qrcode]"
          ></el-image>
          <span v-else>-</span>
        </template>
      </el-table-column>

      <el-table-column
        label="地址"
        
        prop="location"
        show-overflow-tooltip
      >
      </el-table-column>

      <el-table-column
        label="养宠经验"
        
        prop="experience"
        show-overflow-tooltip
      >
      </el-table-column>

      <el-table-column
        label="申请语"
        
        prop="apply_term"
        show-overflow-tooltip
      >
      </el-table-column>

      <el-table-column label="申请日期"  prop="create_time">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "applyList",
  props: ["adopt"],
  data() {
    return {};
  },
  mounted() {},
  methods: {},
};
</script>
